package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IReceivablesPicAddParam;
public class ReceivablesPicAddParam implements IReceivablesPicAddParam {// 订单id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer orderId;
// 图片地址
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String pic;



public Integer getOrderId() {
        return orderId;
    }
public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
public String getPic() {
        return pic;
    }
public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }
}